﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateInfoCode.aspx.cs" Inherits="Sdepci.InfoCode.Web.Interface.CreateInfoCode" ValidateRequest="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>创建信息编码</title>
    <link rel="stylesheet" type="text/css" href="../Css/Style.css" />
    <link rel="stylesheet" type="text/css" href="../Css/Backstage.css" />
    <base target="_self" />
    <script type="text/javascript" src="../Javascript/Common.js"></script>
    <style type="text/css">
    input.region
    {
    	border: 1px solid #cfcfcf;
    	margin: 5px 0px 5px 0px;
    	padding: 2px 0px 0px 0px;
    	font-size: 13px;
    	height: 15px;
	    text-align:center;
	    vertical-align: middle;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div style="background-color: #92b7e1; border: solid 1px #92b7e1; height: 15px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; color: #ffffff; font-weight: bold;">
            <asp:Label ID="lblTitle" runat="server" Text="Label"></asp:Label>
        </div>
        <div id="editregion">
            <fieldset style="border: solid 1px #92b7e1; height: 285px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; text-align: left;">
                <legend>创建编码</legend>
                <div id="formula" style="font-size: 14px; line-height: 35px; height: 240px; padding: 5px 5px 5px 5px; overflow: auto;"></div>
                <div style="background-color: #efefef; height: 18px; padding: 2px 0px 0px 2px;">编码示例：<asp:Label ID="lblRuleDemo" runat="server" Text="Label"></asp:Label></div>
            </fieldset>
            <fieldset style="border: solid 1px #92b7e1; height: 45px; padding: 5px 5px 5px 5px; margin: 0px auto 0px auto; text-align: left;">
                <legend>编码说明</legend>
                <asp:TextBox ID="InfoDesc" CssClass="text" MaxLength="100" runat="server"></asp:TextBox>
            </fieldset>
        </div>
        <div id="buttonregion">
            <asp:HiddenField ID="RuleGuid" runat="server" />
            <asp:HiddenField ID="RuleModule" runat="server" />
            <asp:HiddenField ID="InfoCode" runat="server" />
            <asp:HiddenField ID="SerialReference" runat="server" />
            <asp:HiddenField ID="SerialNumber" runat="server" />
            <asp:Button ID="btnConfirm" CssClass="button" runat="server" Text="确定" UseSubmitBehavior="false" OnClientClick="javascript:if(!GetInfo()) return false;" onclick="btnConfirm_Click" />
            <input type="button" class="button" value="取消" onclick="javascript:self.close();" />
        </div>
        <div id="tipsregion" style="padding: 5px 5px 5px 5px; margin: 5px auto 5px auto;">
            提示：请根据编码规则，依次填写每一编码节，生成信息编码。<br />
        </div>
    </div>
    <script type="text/javascript" src="../Javascript/InfoEdit.js"></script>
    </form>
</body>
</html>
